
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon fs fs-ok"></i>
                    <div class="name">ok</div>
                    <div class="fontclass">.fs-ok</div>
                </li>
            
                <li>
                <i class="icon fs fs-project"></i>
                    <div class="name">project-solid-list</div>
                    <div class="fontclass">.fs-project</div>
                </li>
            
                <li>
                <i class="icon fs fs-angle-down"></i>
                    <div class="name">angle-down</div>
                    <div class="fontclass">.fs-angle-down</div>
                </li>
            
                <li>
                <i class="icon fs fs-angle-left"></i>
                    <div class="name">angle-left</div>
                    <div class="fontclass">.fs-angle-left</div>
                </li>
            
                <li>
                <i class="icon fs fs-angle-right"></i>
                    <div class="name">angle-right</div>
                    <div class="fontclass">.fs-angle-right</div>
                </li>
            
                <li>
                <i class="icon fs fs-angle-up"></i>
                    <div class="name">angle-up</div>
                    <div class="fontclass">.fs-angle-up</div>
                </li>
            
                <li>
                <i class="icon fs fs-volume"></i>
                    <div class="name">volume-medium</div>
                    <div class="fontclass">.fs-volume</div>
                </li>
            
                <li>
                <i class="icon fs fs-mute"></i>
                    <div class="name">volume-mute2</div>
                    <div class="fontclass">.fs-mute</div>
                </li>
            
                <li>
                <i class="icon fs fs-icheck-default"></i>
                    <div class="name">复选框_未选择</div>
                    <div class="fontclass">.fs-icheck-default</div>
                </li>
            
                <li>
                <i class="icon fs fs-icheck-checked"></i>
                    <div class="name">复选框_已选择</div>
                    <div class="fontclass">.fs-icheck-checked</div>
                </li>
            
                <li>
                <i class="icon fs fs-qq"></i>
                    <div class="name">qq</div>
                    <div class="fontclass">.fs-qq</div>
                </li>
            
                <li>
                <i class="icon fs fs-max"></i>
                    <div class="name">方形未选中</div>
                    <div class="fontclass">.fs-max</div>
                </li>
            
                <li>
                <i class="icon fs fs-close"></i>
                    <div class="name">关闭1</div>
                    <div class="fontclass">.fs-close</div>
                </li>
            
                <li>
                <i class="icon fs fs-resize-mac"></i>
                    <div class="name">加号1</div>
                    <div class="fontclass">.fs-resize-mac</div>
                </li>
            
                <li>
                <i class="icon fs fs-min"></i>
                    <div class="name">减号</div>
                    <div class="fontclass">.fs-min</div>
                </li>
            
                <li>
                <i class="icon fs fs-rectangle2"></i>
                    <div class="name">广场_square157</div>
                    <div class="fontclass">.fs-rectangle2</div>
                </li>
            
                <li>
                <i class="icon fs fs-rectangle-remove"></i>
                    <div class="name">广场_square161</div>
                    <div class="fontclass">.fs-rectangle-remove</div>
                </li>
            
                <li>
                <i class="icon fs fs-prev"></i>
                    <div class="name">回来_back41</div>
                    <div class="fontclass">.fs-prev</div>
                </li>
            
                <li>
                <i class="icon fs fs-zoom-out"></i>
                    <div class="name">减去_minus81</div>
                    <div class="fontclass">.fs-zoom-out</div>
                </li>
            
                <li>
                <i class="icon fs fs-web"></i>
                    <div class="name">全球_global26</div>
                    <div class="fontclass">.fs-web</div>
                </li>
            
                <li>
                <i class="icon fs fs-add"></i>
                    <div class="name">添加_add146</div>
                    <div class="fontclass">.fs-add</div>
                </li>
            
                <li>
                <i class="icon fs fs-zoom-in"></i>
                    <div class="name">添加_add155</div>
                    <div class="fontclass">.fs-zoom-in</div>
                </li>
            
                <li>
                <i class="icon fs fs-save"></i>
                    <div class="name">下载_download139</div>
                    <div class="fontclass">.fs-save</div>
                </li>
            
                <li>
                <i class="icon fs fs-delete"></i>
                    <div class="name">循环_recycle62</div>
                    <div class="fontclass">.fs-delete</div>
                </li>
            
                <li>
                <i class="icon fs fs-chat"></i>
                    <div class="name">语音_speech97</div>
                    <div class="fontclass">.fs-chat</div>
                </li>
            
                <li>
                <i class="icon fs fs-external"></i>
                    <div class="name">注销_logout9</div>
                    <div class="fontclass">.fs-external</div>
                </li>
            
                <li>
                <i class="icon fs fs-eraser"></i>
                    <div class="name">eraser</div>
                    <div class="fontclass">.fs-eraser</div>
                </li>
            
                <li>
                <i class="icon fs fs-paint"></i>
                    <div class="name">format-paint</div>
                    <div class="fontclass">.fs-paint</div>
                </li>
            
                <li>
                <i class="icon fs fs-homepage"></i>
                    <div class="name">web</div>
                    <div class="fontclass">.fs-homepage</div>
                </li>
            
                <li>
                <i class="icon fs fs-mail"></i>
                    <div class="name">mail</div>
                    <div class="fontclass">.fs-mail</div>
                </li>
            
                <li>
                <i class="icon fs fs-resize"></i>
                    <div class="name">window-restore-s-o</div>
                    <div class="fontclass">.fs-resize</div>
                </li>
            
                <li>
                <i class="icon fs fs-pause"></i>
                    <div class="name">pause</div>
                    <div class="fontclass">.fs-pause</div>
                </li>
            
                <li>
                <i class="icon fs fs-play"></i>
                    <div class="name">play</div>
                    <div class="fontclass">.fs-play</div>
                </li>
            
                <li>
                <i class="icon fs fs-cuboid"></i>
                    <div class="name">codepen</div>
                    <div class="fontclass">.fs-cuboid</div>
                </li>
            
                <li>
                <i class="icon fs fs-shape-remove"></i>
                    <div class="name">select-off</div>
                    <div class="fontclass">.fs-shape-remove</div>
                </li>
            
                <li>
                <i class="icon fs fs-curve"></i>
                    <div class="name">vector-curve</div>
                    <div class="fontclass">.fs-curve</div>
                </li>
            
                <li>
                <i class="icon fs fs-polygon"></i>
                    <div class="name">vector-polygon</div>
                    <div class="fontclass">.fs-polygon</div>
                </li>
            
                <li>
                <i class="icon fs fs-rectangle"></i>
                    <div class="name">vector-square</div>
                    <div class="fontclass">.fs-rectangle</div>
                </li>
            
                <li>
                <i class="icon fs fs-hand"></i>
                    <div class="name">hand-paper-o</div>
                    <div class="fontclass">.fs-hand</div>
                </li>
            
                <li>
                <i class="icon fs fs-zoom-fit"></i>
                    <div class="name">image</div>
                    <div class="fontclass">.fs-zoom-fit</div>
                </li>
            
                <li>
                <i class="icon fs fs-iradio-checked"></i>
                    <div class="name">选择框2</div>
                    <div class="fontclass">.fs-iradio-checked</div>
                </li>
            
                <li>
                <i class="icon fs fs-iradio-default"></i>
                    <div class="name">选择框1</div>
                    <div class="fontclass">.fs-iradio-default</div>
                </li>
            
                <li>
                <i class="icon fs fs-sync"></i>
                    <div class="name">同步</div>
                    <div class="fontclass">.fs-sync</div>
                </li>
            
                <li>
                <i class="icon fs fs-menu"></i>
                    <div class="name">FK_menu</div>
                    <div class="fontclass">.fs-menu</div>
                </li>
            
                <li>
                <i class="icon fs fs-next"></i>
                    <div class="name">回来_back41</div>
                    <div class="fontclass">.fs-next</div>
                </li>
            
                <li>
                <i class="icon fs fs-label-suggest"></i>
                    <div class="name">推荐</div>
                    <div class="fontclass">.fs-label-suggest</div>
                </li>
            
                <li>
                <i class="icon fs fs-label-suggest-en"></i>
                    <div class="name">推荐</div>
                    <div class="fontclass">.fs-label-suggest-en</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">fs</span> <span class="hljs-selector-tag">fs-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"fs"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
